package com.ymt.bpm.util;

/**
 * bpm系统常用常量
 * @author Johnny
 *
 */
public class Const {
	
	/**
	 * utf8字符集
	 */
	public static final String ENCODING = "UTF-8";
	/**
	 * 登录名标识
	 */
	public static final String LOGINNAME = "loginName";
	/**
	 * 显示名标识
	 */
	public static final String DISPLAYNAME = "displayName";
	/**
	 * 真实名称
	 */
	public static final String REALNAME = "realName";
	/**
	 * 语言标识
	 */
	public static final String LANG = "lang";
	/**
	 * 中文
	 */
	public static final String LANG_ZH = "zh";
	/**
	 * 英文
	 */
	public static final String LANG_EN = "en";
	/**
	 * Ajax调用返回成功
	 */
	public static final String AJAX_SUCC = "{\"success\":true}";
	/**
	 * Ajax调用返回失败
	 */
	public static final String AJAX_FALSE = "{\"success\":false}";
	/**
	 * Ajax调用返回结果
	 */
	public static final String AJAX_RESULT = "result";
	/**
	 * Ajax调用返回结果错误消息
	 */
	public static final String AJAX_MSG = "msg";
	/**
	 * 1标识真值
	 */
	public static final String TRUE1 = "1";
	/**
	 * 0标识假值
	 */
	public static final String FALSE0 = "0";
	/**
	 * 可用语言
	 */
	public static final String[] LANGS = new String[]{LANG_ZH};
	/**
	 * 租户ID
	 */
	public static final String TENANT_ID = "tenantId";
	/**
	 * 部门列表
	 */
	public static final String ORGS = "orgs";
	/**
	 * 角色列表
	 */
	public static final String ROLES = "roles";
	/**
	 * timezoneOffset
	 */
	public static final String TIMEZONEOFFSET = "timezoneOffset";
	/**
	 * HTTP 返回状态码 200
	 */
	public static final int HTTP_STAUTS_OK = 200;
	/**
	 * 星号
	 */
	public static final String ASTERISK = "*";
	
	/**
	 * 空格
	 */
	public static final String BLANK = " ";
	
	/**
	 * 问号
	 */
	public static final String QUESTION = "?";
	
	/**
	 * 默认值
	 */
	public static final String DEFAULT = "DEFAULT";
	
	/**
	 * 默认值
	 */
	public static final String ADMINUSER = "system.admin.user";

	/**
	 * 默认值
	 */
	public static final String DEFAULTUSER = "default_user";

	/**
	 * 默认值
	 */
	public static final String DEFAULTUSERNAME = "默认用户";
	/**
	 * 默认值 JWT_USER
	 */
	public static final String JWT_USER = "JWT_USER";
	/**
	 * 默认值
	 */
	public static final String JWT_TOKEN = "token";
	/**
	 * 默认值
	 */
	public static final String JWT_EXPIRES = "jwtExpires";
	/**
	 * 默认值
	 */
	public static final String JWT_SERVER_EXPIRES = "jwtServerExpires";
	/**
	 * 默认值captcha
	 */
	public static final String CAPTCHA = "captcha";

}
